{% extends "base.html" %}
{% from "macros/form_field.html" import form_field %}
{% block title %}Company Registration{% endblock %}
{% block content_title %}Company Registration{% endblock %}
{% block content %}
<form action="{{ url_for('company_registration', next=request.args.get('next',''))  }}" class="form" method="POST">
{{ form_field(form.email) }}
{{ form_field(form.password) }}
{{ form_field(form.confirm) }}
    {{ form_field(form.nation_type) }}
{{ form_field(form.NameCompany) }}
{{ form_field(form.PartitaIva) }}
{{ form_field(form.Telefono) }}
{{ form_field(form.NameResponsabile) }}
{{ form_field(form.SurnameResponsabile) }}

<div class="form-group">
	<div class="col-md-offset-3 col-md-9">
	</div>
</div>
<div class="form-group">
	<div class="col-md-offset-3 col-md-9">
		<button type="submit" class="btn btn-secondary">Sign Up</button>
		<a class="btn" href="{{ url_for('homepage') }}">Cancel</a>
	</div>
 </div>
</form>

{% endblock %}
